package name.sraynal.msgdispatcher.controller;

import name.sraynal.msgdispatcher.event.Event;
import name.sraynal.msgdispatcher.model.DispatcherModel;
import name.sraynal.msgdispatcher.view.View;

public abstract class Controller {
	
	/**
	 * Model.
	 */
	protected DispatcherModel model;
	
	public Controller(DispatcherModel model){
		this.model = model;
	}
	
	/**
	 * Send event.
	 * @param eventType
	 */
	public abstract void sendEvent(Event event);
	
	protected void displayView(View view) {
		
	}	
}
